package com.house.health.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author DuanChangSuo
 * @date 2023/1/30 15:31
 * @description 类的描述和介绍
 **/
public class Announcement {
    private int aID;
    private String announcementDesc;
    private String publisher;
    private Date publishTime;

    public int getaID() {
        return aID;
    }

    public void setaID(int aID) {
        this.aID = aID;
    }

    public String getAnnouncementDesc() {
        return announcementDesc;
    }

    public void setAnnouncementDesc(String announcementDesc) {
        this.announcementDesc = announcementDesc;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Announcement(int aID, String announcementDesc, String publisher, Date publishTime) {
        this.aID = aID;
        this.announcementDesc = announcementDesc;
        this.publisher = publisher;
        this.publishTime = publishTime;
    }

    public Announcement() {
    }
}
